<%@ page contentType="text/html;charset=UTF-8" %>
<%@ include file="/commons/taglibs.jsp" %>
<!DOCTYPE html PUBLIC "-//W3C//DTD XHTML 1.0 Transitional//EN" "http://www.w3.org/TR/xhtml1/DTD/xhtml1-transitional.dtd">
<html xmlns="http://www.w3.org/1999/xhtml">
<head>
<meta http-equiv="Content-Type" content="text/html; charset=utf-8" />
<title>专题</title>
<link href="${ctx}/css/hb.css" rel="stylesheet" type="text/css" />
</head>
<body>
<div class="box">
  <input type="hidden" id="newsid" name="newsid" value="<%=request.getParameter("newsid")%>" /> 
  <div class="hb_top"><a href="http://10.78.109.32/index.jsp"><img src="${ctx}/images/web/first_ico.jpg" />返回首页</a><a onclick="this.style.behavior='url(#default#homepage)';this.setHomePage('http://10.78.109.32/index.jsp')"						          href="#"><img src="${ctx}/images/web/tianjia_sc.jpg" />设为主页</a><a href="#" onclick="javascript:window.external.AddFavorite('http://10.78.109.32/index.jsp','北京车辆段')" title="收藏本站到你的收藏夹"><img src="${ctx}/images/web/lx_my.jpg" />收藏本站</a></div>
    <div><img src="${ctx}/images/chanpin/chanpin_top.jpg" /></div>
   <div><a href="#"><img src="${ctx}/images/chanpin/4_1201_31.jpg" /></a></div>
    <div style="margin-top:2px;"><img src="${ctx}/images/chanpin/chanpin_b.jpg" /></div>
    <div class="cp_content">
      <c:forEach items="${requestScope.catList}" var="item"  varStatus="varStatus">
         <c:if test="${item.caTypes=='IMG'}" > 
    	<div class="cp_zhanshio">
            <div class="cp_zhanshi_title">
                <span>${item.names}</span>
                <div class="cp_title_xian"></div>
                 <a href="${ctx}/titles/o_zhuantipic.jsp?catId=${item.id}"> <img src="${ctx}/images/chanpin/more.jpg" /> </a>
                 <div class="clear"></div>
            </div>
            <ul  style="margin-left:50px;">
             <c:if test="${item.newsList!=null}">
             <c:forEach items="${item.newsList}" var="temp"> 
               <li style="width:116px;height:195px;margin-left:25px;" >
                	<a href="${ctx}${temp.fromUrl}"><p class="zhanshi_tu"><img src="${ctx}${temp.fromUrl}" height="135" width="116" /></p>
                    <span>${temp.title}</span></a>
                </li> 
                </c:forEach>
               </c:if>
            </ul>
            
            <div class="clear"></div>
        </div>
        </c:if>
       <c:if test="${item.caTypes=='TXT'}" > 
        <div class="cp_news">
        	<div class="cp_zhanshi_title">
                <span>${item.names}</span>
                <div class="cp_title_xian"></div>
                 <a href="${ctx}/titles/o_zhuantilist.jsp?catId=${item.id}"> <img src="${ctx}/images/chanpin/more.jpg" /> </a>
                <div class="clear"></div>
            </div>
             <ul class="cp_news_left"  style="width:895px" >
             <c:if test="${item.newsList!=null}">
             <c:forEach items="${item.newsList}" var="temp"> 
              <li style="width:755px;margin-left:70px;"><span>[${temp.createTimeString}]</span><a href="${ctx}/titles/o_zhuantidetail.jsp?newsid=${temp.id}">${temp.title}</a></li>
                    
                    
           
             </c:forEach>
             </c:if>
            </ul>
            <div class="clear"></div>
        </div>
        </c:if>
         </c:forEach>
    </div>
    <div class="footer"><ul>Copyright ©2011-2012 北京车辆段 版权所有</ul>
							信息技术科 联系电话：010-51868237</div>
</div>
</body>
</html>
